﻿@model Entities.UserDetailsModel
@{
    ViewBag.Title = ViewBag.Name;
    AjaxOptions ajaxOpts = new AjaxOptions
{
    UpdateTargetId = "UserDetailsGrid",
    InsertionMode = InsertionMode.Replace
};
}
@section Header
{
@ViewBag.Name 
}
@section Filters{
    @using (Ajax.BeginForm(MVC.Details.UserDetails(), ajaxOpts))
    {
        Html.RenderPartial(MVC.Shared.Views._Filters, Model.Filter);
        @Html.Hidden("UserName", (string)ViewBag.UserName);
    }
}
@section Body
        {
    <div id="UserDetailsGrid">
        @{Html.RenderPartial(MVC.Details.Views._UserDetailsGrid, Model);}
    </div>
}
